home *** CD-ROM | disk | FTP | other *** search
- Path: news.clark.net!not-for-mail
- From: gusty@clark.net (Harlan Messinger)
- Newsgroups: comp.lang.c++
- Subject: Re: Coding Standards
- Date: 11 Mar 1996 17:21:08 GMT
- Organization: Clark Internet Services, Inc., Ellicott City, MD USA
- Message-ID: <4i1ne4$g99@clarknet.clark.net>
- References: <4hj8ek$elu@sam.inforamp.net> <4hjh5c$elk@flood.weeg.uiowa.edu> <4hv2tm$e93@news.halcyon.com>
- NNTP-Posting-Host: explorer.clark.net
- Mime-Version: 1.0
- Content-Type: TEXT/PLAIN; charset=ISO-8859-1
- Content-Transfer-Encoding: 8bit
- X-Newsreader: TIN [UNIX 1.3 950726BETA PL0]
-
- Norm Bryar (normanb@halcyon.com) wrote:
- : Except you can't put consts in a header for everyone to use and you
- : can't bitwise-OR enum values. #defines still have a place. <===
-
- ??? What about a header with the line,
-
- extern const MyType MYCONST;
-
- and a single module with the global definition
-
- const MyType MYCONST(/* Initialization parameters here */);
-
-
-